package com.woniuxy.microorderserver.service;

import com.github.pagehelper.PageInfo;
import com.woniuxy.microcommonserver.bean.order_caize.OrderInfo;
import com.woniuxy.microcommonserver.pageHelper.PageRequest;



public interface IOrderService {
    /**
     * 根据用户id查询用户所有的订单
     * @param request
     * @param
     * @return
     */
    PageInfo<OrderInfo> findOrderAllBySearch(PageRequest request,OrderInfo orderInfo);

    /**
     * 根据订单id删除订单
     * @param id
     * @return
     */
    int delOrder(Long id);

    /**
     * 根据订单编号查看订单详情。订单信息。收货人信息
     */
    OrderInfo findOrderByOrderNum(Long orderNum);
}
